package com.youzan.open.sdk.gen.v3_0_0.model;

import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.youzan.open.sdk.model.APIParams;
import com.youzan.open.sdk.model.FileParams;
import com.youzan.open.sdk.model.APIResult;
import com.youzan.open.sdk.model.ByteWrapper;
import java.util.List;
import java.util.Map;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonProperty;

public class YouzanTradeVirtualticketGetResult implements APIResult {

    @JsonProperty(value = "code")
    /**
     * 电子卡券二维码码号
     */
    private String code;
    @JsonProperty(value = "tid")
    /**
     * 订单号
     */
    private String tid;
    @JsonProperty(value = "state")
    /**
     * 核销状态: NOT_VERIFY（未核销）VERIFIED（已核销）
     */
    private String state;
    @JsonProperty(value = "create_time")
    /**
     * 创建时间
     */
    private String createTime;
    @JsonProperty(value = "tickets")
    /**
     * 码券核销信息
     */
    private VirtualTicket[] tickets;

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }
    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getTid() {
        return this.tid;
    }
    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return this.state;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }
    public void setTickets(VirtualTicket[] tickets) {
        this.tickets = tickets;
    }

    public VirtualTicket[] getTickets() {
        return this.tickets;
    }

    public static class VirtualTicket {
            @JsonProperty(value = "ticket_state")
        /**
        * 是否核销
        */
        private String ticketState;
            @JsonProperty(value = "ticket_code")
        /**
        * 码券号
        */
        private String ticketCode;
            @JsonProperty(value = "verify_time")
        /**
        * 核销时间
        */
        private String verifyTime;
    
            public void setTicketState(String ticketState) {
            this.ticketState = ticketState;
        }

        public String getTicketState() {
            return this.ticketState;
        }

            public void setTicketCode(String ticketCode) {
            this.ticketCode = ticketCode;
        }

        public String getTicketCode() {
            return this.ticketCode;
        }

            public void setVerifyTime(String verifyTime) {
            this.verifyTime = verifyTime;
        }

        public String getVerifyTime() {
            return this.verifyTime;
        }

        }


}